Entity Deathtrap
Deathtrap is the Entity definition for a death trap object.
Subclass of Entity.
Functions
IsRepeat () | IsRepeat returns true if the effect repeats. |
IsAnimated () | IsAnimated returns true if the effect animates. |
IsScriptState () | IsScriptState returns true if the script state for the trap is set. |
IsScriptState () | GetDamageType returns the damage type for the trap. |
GetDamage () | GetDamage returns the damage amount for the trap. |
GetRepeatInterval () | GetRepeatInterval returns the repeat interval for the trap. |
GetNextActivateTime () | GetNextActivateTime returns the next activation time on the animation clock. |
Functions
- IsRepeat ()
-
IsRepeat returns true if the effect repeats.
Returns:
-
A boolean indicating repeatable.
- IsAnimated ()
-
IsAnimated returns true if the effect animates.
Returns:
-
A boolean indicating animating.
- IsScriptState ()
-
IsScriptState returns true if the script state for the trap is set.
Returns:
-
A boolean indicating the script state.
- IsScriptState ()
-
GetDamageType returns the damage type for the trap.
Returns:
-
A string indicating the damage type.
- GetDamage ()
-
GetDamage returns the damage amount for the trap.
Returns:
-
An integer indicating the damage amount.
- GetRepeatInterval ()
-
GetRepeatInterval returns the repeat interval for the trap.
Returns:
-
A numeric value indicating the repeat interval.
- GetNextActivateTime ()
-
GetNextActivateTime returns the next activation time on the animation clock.
Returns:
-
A numeric value indicating the next activation time.